package com.isoft.filelistener.dao;

import com.isoft.filelistener.entity.CaneDflt;
import com.isoft.filelistener.entity.Meta;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface DfmeCaneDao {
    @Insert("insert into TEAM_03.DFME_CANE(SNDR,RCVR,SEQN,DDTM,TYPE,STYP,FLID,FFID,FIDE,FATT,ABST,IAST,ABRS,IARS,MABS,MABR,MIAS,MIAR) " +
            "values(#{meta.sndr},#{meta.rcvr},#{meta.seqn},#{meta.ddtm},#{meta.type},#{meta.styp},#{dflt.flid},#{dflt.ffid},#{dflt.fide}," +
            "#{dflt.fatt},#{dflt.abst},#{dflt.iast},#{dflt.abrs},#{dflt.iars},#{dflt.mabs},#{dflt.mabr},#{dflt.mias},#{dflt.miar})")
    public int insertcane(@Param("meta") Meta  meta, @Param("dflt") CaneDflt dflt);
}
